package com.ruoyi.sqlbuilder.vo;

import com.ruoyi.sqlbuilder.domain.SbrDatabase;

import java.util.List;

/**
 * sql转换vo
 *
 * @author Yanzy
 */
public class SqlHandleVo {

    public SqlHandleVo() {
    }

    public SqlHandleVo(SbrDatabase dbInfo) {
        this.dbInfo = dbInfo;
    }

    /**
     * 导出类型
     */
    private String exportType;

    /**
     * 导出表空间
     */
    private String tableSchema;

    /**
     * 文件保存路径
     */
    private String filePath;

    /**
     * 是否导出数据
     */
    private boolean isExportData = true;

    /**
     * 数据库连接信息
     */
    private SbrDatabase dbInfo;

    /**
     * 数据库中所有的表信息
     */
    private List<String> tables;

    public boolean isExportData() {
        return isExportData;
    }

    public void setExportData(boolean exportData) {
        isExportData = exportData;
    }

    public String getTableSchema() {
        return tableSchema;
    }

    public void setTableSchema(String tableSchema) {
        this.tableSchema = tableSchema;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getExportType() {
        return exportType;
    }

    public void setExportType(String exportType) {
        this.exportType = exportType;
    }

    public SbrDatabase getDbInfo() {
        return dbInfo;
    }

    public void setDbInfo(SbrDatabase dbInfo) {
        this.dbInfo = dbInfo;
    }

    public List<String> getTables() {
        return tables;
    }

    public void setTables(List<String> tables) {
        this.tables = tables;
    }
}
